package cn.edu.wfit.modules.learn.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.edu.wfit.common.core.annotation.Excel;
import cn.edu.wfit.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * 竞赛证书认证对象 wfit_competition_award
 * 
 * @author ruoyi
 * @date 2025-07-28
 */
public class WfitCompetitionAward extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一标识ID */
    private Long id;

    /** 关联竞赛id */
    @Excel(name = "关联竞赛id")
    private Long competitionId;

    /** 竞赛名称 */
    @Excel(name = "竞赛名称")
    private String competitionName;

    /** 学生学号 */
    @Excel(name = "学生学号")
    private Long studentId;

    /** 奖项层次(0校1市2省3国) */
    @Excel(name = "奖项层次(0校1市2省3国)")
    private String awardLevel;

    /** 奖项等级(0一1二2三3优4参) */
    @Excel(name = "奖项等级(0一1二2三3优4参)")
    private String awardGrade;

    /** 证书图片 */
    @Excel(name = "证书图片")
    private String certificateImg;

    /** 审核状态(0未通过1通过2待审核) */
    @Excel(name = "审核状态(0未通过1通过2待审核)")
    private String reviewStatus;

    /** 证书分值 */
    @Excel(name = "证书分值")
    private Long score;

    /** 获奖时间 */
    @Excel(name = "获奖时间")
    private Date gainTime;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCompetitionId(Long competitionId) 
    {
        this.competitionId = competitionId;
    }

    public Long getCompetitionId() 
    {
        return competitionId;
    }
    public void setCompetitionName(String competitionName) 
    {
        this.competitionName = competitionName;
    }

    public String getCompetitionName() 
    {
        return competitionName;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setAwardLevel(String awardLevel) 
    {
        this.awardLevel = awardLevel;
    }

    public String getAwardLevel() 
    {
        return awardLevel;
    }
    public void setAwardGrade(String awardGrade) 
    {
        this.awardGrade = awardGrade;
    }

    public String getAwardGrade() 
    {
        return awardGrade;
    }
    public void setCertificateImg(String certificateImg) 
    {
        this.certificateImg = certificateImg;
    }

    public String getCertificateImg() 
    {
        return certificateImg;
    }
    public void setReviewStatus(String reviewStatus) 
    {
        this.reviewStatus = reviewStatus;
    }

    public String getReviewStatus() 
    {
        return reviewStatus;
    }

    public Long getScore() {
        return score;
    }

    public void setScore(Long score) {
        this.score = score;
    }

    public Date getGainTime() {
        return gainTime;
    }

    public void setGainTime(Date gainTime) {
        this.gainTime = gainTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("competitionId", getCompetitionId())
            .append("competitionName", getCompetitionName())
            .append("studentId", getStudentId())
            .append("awardLevel", getAwardLevel())
            .append("awardGrade", getAwardGrade())
            .append("certificateImg", getCertificateImg())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("reviewStatus", getReviewStatus())
            .append("score", getScore())
            .append("gainTime", getGainTime())
            .toString();
    }
}
